<?php

class FormBase
{

  protected $title;

  public function setTitle($title)
  {
    $this->title = $title;
  }

  public function getTitle()
  {
    if (empty($this->title)) {
      return Inflector::titleize($this->getName());
    }

    return $this->title;
  }

}
